//
//  CZAboutUsViewController.m
//  nsj_iOS
//
//  Created by apple on 2017/1/24.
//  Copyright © 2017年 GCZ. All rights reserved.
//

#import "CZAboutUsViewController.h"

@interface CZAboutUsViewController ()

@end

@implementation CZAboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"关于我们";
    UILabel *label = [[UILabel alloc] init];
    label.numberOfLines = 0;
    label.lineBreakMode = NSLineBreakByCharWrapping;
    [self.view addSubview:label];
    
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view);
        make.left.equalTo(self.view).offset(20);
        make.right.equalTo(self.view).offset(-20);
        make.top.equalTo(self.view).offset(- 200);
    }];
    label.textColor = [UIColor grayColor];
    label.font = [UIFont systemFontOfSize:15];
    label.text = @"        \"那世界\"是我们建构的一个理想国，以动漫这一孩子最喜欢的形式为基础，让孩子们在纯净的虚拟世界里自由发挥，通过自己的行动，营造一个他们所憧憬的世界。 \n        \"那世界我做主\"活动以动漫作品创作流程为拓展活动的展开线索，在绘画、故事、音乐、表演和作品创作过程中打开心门和脑洞，有效激发想象能力、提高创造能力、沟通表达能力、审美能力，让孩子告别无聊、怯懦，变得创意无限和自信。";
    
    UILabel *label2 = [[UILabel alloc] init];
    label2.numberOfLines = 0;
    [self.view addSubview:label2];
    [label2 mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
        make.left.equalTo(self.view).offset(20);
        make.right.equalTo(self.view).offset(-20);
        make.bottom.equalTo(self.view);
        make.height.equalTo(@100);
    }];
    label2.textColor = [UIColor grayColor];
    label2.text = @"Copyright @2016-2020     \n宁波惠风民和文化传播有限公司";
    label2.textAlignment = NSTextAlignmentCenter;
    
    label2.font = [UIFont systemFontOfSize:14];
    
    
    // Do any additional setup after loading the view from its nib.
}
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    self.tabBarController.tabBar.hidden = YES;
    self.navigationController.navigationBar.alpha = 1;
    
    [(UIView*)[self.navigationController.navigationBar.subviews objectAtIndex:0] setAlpha:1.f];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
